#include <stdio.h>
#include <string.h>
#include "wklds.h"

#define WKLDS 	100

int main(int argc, char* argv[])
{
	THR_PARA_T WkldData[WKLDS];
	for(int i = 0; i < WKLDS; i++)
	{
		WkldData[i].var_i = i + 1;
		WkldData[i].var_f = (i+1)*0.01;
		sprintf(WkldData[i].var_s, "Workload's index#%d", i); 
	}

	//启用线程池处理数据
	WORKLOADS_RUN(WkldData, WKLDS);
}